<div class="customers form">
<?php echo $this->Form->create('Customer'); ?>
	<fieldset>
		<legend><?php echo __('Register'); ?></legend>
	<?php
		echo $this->Form->input('first_name', array(
                    'label' => 'First name'
                ));
		echo $this->Form->input('last_name', array(
                    'lable' => 'Last name'
                ));
		echo $this->Form->input('dob', array(
                    'label' => 'Date of birth',
                    'dateFormat' => 'DMY',
                    'minYear' => date('Y') - 100,
                ));
		echo $this->Form->input('gender_id', array(
                    'label' => 'Gender',
                ));
		echo $this->Form->input('street', array(
                    'label' => 'Street',
                ));
		echo $this->Form->input('suburb', array(
                    'label' => 'Suburb'
                ));
		echo $this->Form->input('city', array(
                    'label' => 'City'
                ));
		echo $this->Form->input('state', array(
                    'label' => 'State',
                ));
		echo $this->Form->input('postcode', array(
                    'label' => 'Postal Code',
                ));
		echo $this->Form->input('country', array(
                    'label' => 'Country',
                ));
		echo $this->Form->input('phone', array(
                    'label' => 'Phone number',
                ));
		echo $this->Form->input('join_date', array(
                    'label' => 'Join date',
                    'dateFormat' => 'DMY'
                ));
		echo $this->Form->input('username', array(
                    'label' => 'Username',
                ));
		echo $this->Form->input('email', array(
                    'label' => 'Email address',
                ));
		echo $this->Form->input('password', array(
                    'label' => 'Password',
                ));
                echo $this->Form->input('confirm_password', array(
                    'type' => 'password',
                    
                ));
		/*echo $this->Form->input('group_id', array(
                    'label' => 'User group',
                ));*/
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Customers'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Genders'), array('controller' => 'genders', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Gender'), array('controller' => 'genders', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
	</ul>
</div>
</div>
